import request from '@/utils/request'
export function projectQualityList(data) { //质量管理-列表
    return request({
        url: '/project-management/api/project/quality/page',
        method: 'POST',
        data,
    })
}
export function projectQualityAdd(data) { //质量管理-添加
    return request({
        url: '/project-management/api/project/quality/save',
        method: 'POST',
        data,
    })
}
export function projectQualityDetails(id) { //质量管理-详情
    return request({
        url: '/project-management/api/project/quality/'+id,
        method: 'GET',
    })
}
//原 del
export function projectQualityDeelete(id) { //质量管理-删除
    return request({
        url: '/project-management/api/project/quality/del/'+id,
        method: 'get',
    })
}
//原 put
export function projectQualityEdit(data) { //质量管理-编辑
    return request({
        url: '/project-management/api/project/quality/put/update',
        method: 'post',
        data,
    })
}
export function projectQualityExport(data) { //质量管理-导出
    return request({
        url: '/project-management/api/project/quality/export',
        responseType: 'arraybuffer',
        method: 'POST',
        data,
    })
}
export function projectQualityAll() { //质量管理-查询全部项目
    return request({
        url: '/project-management/api/projectSurvey',
        method: 'GET',
    })
}